﻿using System;
using System.Collections.Generic;
using System.Text;

namespace RabbitMQShare
{
    public class RabbitMqModel
    {
        /// <summary>
        /// 服务器ip地址
        /// </summary>
        private string host;

        public string Host
        {
            get { return host; }
            set { host = value; }
        }

        /// <summary>
        ///服务器端口 
        /// </summary>
        private int port;

        public int Port
        {
            get { return port; }
            set { port = value; }
        }

        /// <summary>
        /// 消息队列登录用户名
        /// </summary>
        private string userName;

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        /// <summary>
        /// 消息队列登录密码
        /// </summary>
        private string passWord;

        public string PassWord
        {
            get { return passWord; }
            set { passWord = value; }
        }

        /// <summary>
        /// 消息队列名称
        /// </summary>
        private string queueName;

        public string QueueName
        {
            get { return queueName; }
            set { queueName = value; }
        }

        /// <summary>
        /// 交换机名称
        /// </summary>
        private string exchangeName;

        public string ExchangeName
        {
            get { return exchangeName; }
            set { exchangeName = value; }
        }
    }
}
